package com.sky.his.api.db.dao;

import com.sky.his.api.db.pojo.FlowRegulationEntity;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;

/**
 * @author WangJiyou
 * @description 针对表【tb_flow_regulation(人员调流表)】的数据库操作Mapper
 * @createDate 2024-11-08 16:36:14
 * @Entity com.sky.his.api.db.pojo.FlowRegulationEntity
 */
public interface FlowRegulationDao {

    ArrayList<String> searchPlaceList();

    ArrayList<FlowRegulationEntity> searchByPage(Map param);

    long searchCount(Map param);

    int insert(FlowRegulationEntity entity);

    FlowRegulationEntity searchById(int id);

    int update(Map param);

    int updateRealNum(Map param);

    ArrayList<HashMap> searchRecommendedWithWeight();

    ArrayList<HashMap> searchRecommendedWithPriority();

    ArrayList<HashMap> searchAllPlace();

    int deleteByIds(Integer[] ids);
}




